package com.gzcstec.gateway.enums;

import lombok.Getter;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 异常错误代码
 */
@Getter
public enum ExceptionEnums {
    RATE_LIMITER_EXCEPTION(1 , "没有获取token"),
    ROLLER_ERROR(2 , "没有角色权限")
    ;

    private Integer code;
    private String message;

    ExceptionEnums(Integer code , String message) {
        this.code = code;
        this.message = message;
    }
}
